package com.wsq.project.service.impl.inner;

import com.wsq.apicommon.service.InnerUserInterfaceInfoService;
import com.wsq.project.service.UserInterfaceInfoService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

/**
 * 调用接口统计
 */
@DubboService
public class InnerUserInterfaceInfoServiceImpl implements InnerUserInterfaceInfoService {
    @Resource
    private UserInterfaceInfoService userInterfaceInfoService;

    @Override
    public boolean invokeCount(long interfaceInfo, long userId) {
        return userInterfaceInfoService.invokeCount(interfaceInfo,userId);
    }
}
